package examples.springcloud.common;

public class CommonConstants {
    public interface Request {
        String SUCCESS = "S000000";
        String SUCCESS_MESSAGE = "操作成功";
        String INTERNAL_ERROR = "E000001";
        String INTERNAL_ERROR_MESSAGE = "服务器异常，请稍后再试";
        String HYSTRIX_FALLBACK_ERROR = "E000002";
        String HYSTRIX_FALLBACK_ERROR_MESSAGE = "访问超时,请稍后再试";
        String SENTINEL_BLOCK_ERROR = "E000003";
        String SENTINEL_BLOCK_ERROR_MESSAGE = "服务限流保护中，请稍后再试";
        String PARAM_ERROR = "E000004";
        String PARAM_ERROR_MESSAGE = "参数有误";
        String UN_SUPPORT_REQUEST_ERROR = "E999999";
        String UN_SUPPORT_REQUEST_ERROR_MESSAGE = "不支持的非法访问";
        String LOGIN_EXPIRE_ERROR = "E999998";
        String LOGIN_EXPIRE_ERROR_MESSAGE = "登录过期，请重新登录！";
    }
}
